﻿using KFM.Services.Base;
using Services.IService;
using System;
using System.Collections.Generic;
using System.Text;

namespace Services.Service
{
    public class PersonService : BaseService,IPersonService
    {
        private readonly IAnimalService _animalService; 
        public PersonService(IAnimalService animalService)
        {
            _animalService = animalService;
        }

        public KFMResult DoWork2()
        {
            _animalService.Work();
            var age = "哈哈哈";
            var result = krmResult.successResult("可以");
            var result2 = krmResult.errorResult("可以");
            return result;
        }

        string IPersonService.DoWork()
        {
            throw new NotImplementedException();
        }
    }
}
